package com.lli.mc.init;

import javax.annotation.Resource;

import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

import com.lli.mc.converter.openoffice.OpenOfficeConnectionPool;

/**
 * 启动执行 初始化资源
 * 
 * @author lli
 *
 * @version 1.0
 *
 */
@Component
public class InitResouce implements CommandLineRunner {
    @Resource
    OpenOfficeConnectionPool OpenOfficeConnectionPool;

    @Override
    public void run(String... strings) throws Exception {
        // 初始化openoffice连接池
        // OpenOfficeConnectionPool.initPool();

    }
}
